package com.yixun.qfbao.response.commission;

import java.math.BigDecimal;

import com.yixun.qfbao.apidto.GetCustomerPremisesResDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zilong.liu
 * @date 2020-9-11
 */
@Data
public class CommissionInfoResDto {
	
	@ApiModelProperty(value = "佣金总额")
    private BigDecimal totalAmount;
    
	@ApiModelProperty(value = "已结")
    private BigDecimal hasBalance;
    
	@ApiModelProperty(value = "待结")
    private BigDecimal hasNoBalance;
	
	public CommissionInfoResDto() {
		
	}
	
	public CommissionInfoResDto(GetCustomerPremisesResDto getCustomerPremisesResDto) {
		this.totalAmount = getCustomerPremisesResDto.getTotalAmount();
		this.hasBalance = getCustomerPremisesResDto.getHasbalance();
		this.hasNoBalance = getCustomerPremisesResDto.getHasnobalance();
	}
}
